package com.boco.modules.fdoc.service;

import java.util.List;

import com.boco.modules.fdoc.model.expert.ExpertAccountEntity;
import com.boco.modules.fdoc.model.expert.ExpertInformationEntity;
import com.boco.modules.fdoc.vo.ExpertVo;

/**
 * Description 专家
 * @author lzz
 * @date 2017年9月26日 上午9:39:39
 */
public interface ExpertService {

	/**
	 * 获取专家总条数
	 * Title ExpertService.java
	 * Description: 
	 * @param expertVo
	 * @return
	 * @author lzz
	 */
	public int getExpertCount(ExpertVo expertVo);
	/**
	 * 获取专家信息及账号列表
	 * Title ExpertService.java
	 * Description: 
	 * @param expertVo
	 * @return
	 * @author lzz
	 */
	public List<ExpertVo> getExpertList(ExpertVo expertVo);
	/**
	 * 保存专家账号和密码
	 * Title ExpertService.java
	 * Description: 
	 * @param informationEntity
	 * @param accountEntity
	 * @return
	 * @author lzz
	 */
	public int saveExpertAndAccount(ExpertInformationEntity informationEntity, ExpertAccountEntity accountEntity);
	/**
	 * 通过id获取专家信息
	 * Title ExpertService.java
	 * Description: 
	 * @param id
	 * @return
	 * @author lzz
	 */
	public ExpertVo getExpertById(String id);
	/**
	 * 编辑专家信息
	 * Title ExpertService.java
	 * Description: 
	 * @param informationEntity
	 * @param accountEntity
	 * @return
	 * @author lzz
	 */
	public int updateExpert(ExpertInformationEntity informationEntity, ExpertAccountEntity accountEntity);

}
